package com.rong.shop.mapper;

import com.rong.shop.pojo.AddressDistrict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AddressDistrictMapper {

    List<AddressDistrict> findAll();

    List<AddressDistrict> findByParent(@Param("parent") String parent);

    String findNameByCode(@Param("code") String code);

}
